import java.util.Scanner;

public class IsoscelesTriangle {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        int n=scanner.nextInt();
        for (int i = 1; i <= n; i++) {
            for (int j = 1; j <= 2*n; j++)
                if(i+j<n+1) System.out.print(" ");
                else if (j-i>n-1){}
                else System.out.print("*");
            System.out.println();
        }
    }
}